﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;
using MCMLXVII.BackEnd.Services.Common.Messages;

#endregion

namespace MCMLXVII.BackEnd.Services.OrganizationChart.Messages
{

    [Serializable()]
    [System.Xml.Serialization.XmlType(Namespace = "http://tempuri.org/")]
    public class msgUpdateOrganizationTreeNode : IOrganizationTreeNodeOperation
    {
        private string _Name;
        private int _NodeID;
        private int _FatherID;
        private string _DirectoryConfigInfo;
        private NodeLanguageTranslations[] _Translations;
        private int _UpdateSequence;
        public msgUpdateOrganizationTreeNode()
        {

        }
        public msgUpdateOrganizationTreeNode(int NodeID, string Name, int FatherID, string DirectoryConfigInfo, int UpdateSequence)
        {
            _NodeID = NodeID;
            _Name = Name;
            _FatherID = FatherID;
            _DirectoryConfigInfo = DirectoryConfigInfo;
            _UpdateSequence = UpdateSequence;
        }

        public NodeLanguageTranslations[] Translations
        {
            get { return _Translations; }
            set {_Translations = value;}
        }


        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        public int FatherID
        {
            get { return _FatherID; }
            set { _FatherID = value; }
        }
        public string DirectoryConfigInfo
        {
            get { return _DirectoryConfigInfo; }
            set { _DirectoryConfigInfo = value; }
        }
        public int UpdateSequence
        {
            get { return _UpdateSequence; }
            set { _UpdateSequence = value; }

        }

        #region IOrganizationTreeNodeOperation Members
        public int NodeID
        {
            get { return _NodeID; }
            set { _NodeID = value; }
        }


        #endregion

    }


}
